package routers

import (
	"MBTI-backend/apis/student"
	"github.com/gin-gonic/gin"
)

func StudentRouter(r *gin.RouterGroup) {
	r.POST("/upsertStudent", student.UpsertStudent)
	r.POST("/addStudent", student.AddStudent)
	r.GET("/getStudent", student.GetAllStudents)
	r.POST("/updateStudent", student.UpdateStudent)
}
